import {useColorMode} from "@vueuse/core";

export const useTheme = () => {
    // disableTransition: false 表示允许颜色切换时的过渡动画
    const color = useColorMode({disableTransition: false});
    return {color};
};
